package com.ahsjdy.st.stdao.mapper;

import com.ahsjdy.st.stdao.entity.Navigation;

import java.util.List;

public interface NavigationMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Navigation record);

    int insertSelective(Navigation record);

    Navigation selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Navigation record);

    int updateByPrimaryKey(Navigation record);

    List<Navigation> listByLevel(Integer level);

    List<Navigation> listByParent(Integer parentId);
}